package com.sky.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.dto.OrdersSubmitDTO;
import com.sky.entity.Orders;
import com.sky.vo.BusinessDataVO;
import com.sky.vo.OrderOverViewVO;
import com.sky.vo.OrderSubmitVO;

import java.time.LocalDateTime;

public interface OrderService extends IService<Orders> {


    OrderSubmitVO submitOrder(OrdersSubmitDTO ordersSubmitDTO);

    OrderOverViewVO getOverviewOrders();

    BusinessDataVO getBusinessData(LocalDateTime begin , LocalDateTime end);

    void paySuccess(String outTradeNo);
}